home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / GENetReleaseƒ / GEDemo / Pogo.h < prev    next >
Text File  |  1994-03-07  |  750b  |  52 lines

  1. /*
  2.     Pogo.h
  3.     
  4.     Boy on pogo stick for Graphic Elements demo
  5.     
  6.     Copyright 1993 by Al Evans. All rights reserved.
  7.     
  8.     11/10/93
  9. */
  10.  
  11. //Load precompiled symbols if in MPW
  12. #ifdef applec
  13. #ifndef __cplusplus
  14. #ifndef PRELOAD
  15. #pragma load "::ToolKit.precompile"
  16. #define PRELOAD
  17. #endif
  18. #endif
  19. #endif
  20.  
  21. #include "GraphElements.h"
  22.  
  23. //Starting resource number of PICT sequence
  24.  
  25. #define rPogoPic    140
  26.  
  27. //Starting position of graphic
  28.  
  29. #define pogoLeft    98
  30. #define pogoTop        218
  31.  
  32. //Plane of graphic
  33.  
  34. #define pogoPlane    650
  35.  
  36. //Graphic ID
  37.  
  38. #define pogoID        'POGO'
  39.  
  40. #ifdef __cplusplus
  41. extern "C" {
  42. #endif
  43.  
  44. Boolean LoadPogoScene(GEWorldPtr world);
  45.  
  46. //Autochange proc for pogo stick animation
  47. pascal void DoPogoStick(GEWorldPtr world, GrafElPtr pogo);
  48.  
  49. #ifdef __cplusplus
  50. }
  51. #endif
  52.